package dbops

import "database/sql"
import _ "github.com/go-sql-driver/mysql"

var (
	dbConn *sql.DB
	err error
)

func init(){
	dbConn, err = sql.Open("mysql", "root:root@tcp(localhost:3306)/video_server?charset=utf8")
	if err!=nil{
		panic(err.Error())
	}
	//fmt.Println(dbConn)
}
